# Copyright 2017-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CRATES="
	diff@0.1.13
	glob@0.3.1
	libc@0.2.155
	log@0.4.22
	pretty_assertions@1.4.0
	yansi@0.5.1
"

inherit cargo git-r3

DESCRIPTION="ipc based login daemon"

HOMEPAGE="https://gitee.com/fpemud/su-sudo"
SRC_URI="${CARGO_CRATE_URIS}"
EGIT_REPO_URI="https://gitee.com/fpemud/su-sudo"

LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+=" || ( Apache-2.0 MIT )"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"

src_unpack() {
	git-r3_src_unpack
	cargo_live_src_unpack
}

